home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 1
/
Amiga Tools.iso
/
s
/
export_dfa.dfa
< prev
next >
Wrap
Text File
|
1994-06-06
|
2KB
|
86 lines
/************************************************************************
*
* export_dfa.dfa by Dirk Federlein 1993
*
* Exports marked addresses to another DFA address file
* Notice that this new file WILL be compatible to the DFA V1.1
* (and 1.2) format and can be loaded as usual using the "Load"
* Menu item of DFA.
*
* This script was done, because it is not possible, to save part
* of the stored addresses to another file directly out of DFA up to now.
*
*
************************************************************************/
options results
tabchar = '09'X
cr = '0A'X
exportfile = 't:dfa_dfa.export'
if ~show(ports, DFA) then
do
exit 0
end
if open('exfh',exportfile,'W') then
do
address 'DFA'
/* Write Templates */
writech('exfh', 'DFAddress1.1')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '')
writeln('exfh', '0')
writeln('exfh', '')
writeln('exfh', '')
FIRST STEM ADR.
if ADR.ADDRESS.14 = 0 then
NEXTSEL STEM ADR.
do while RC = 0
/* Notice that the logical and the physical order differs */
/* because up compatibility to former versions of DFA */
writeln('exfh', ADR.ADDRESS.1)
writeln('exfh', ADR.ADDRESS.2)
writeln('exfh', ADR.ADDRESS.3)
writeln('exfh', ADR.ADDRESS.4)
writeln('exfh', ADR.ADDRESS.5)
writeln('exfh', ADR.ADDRESS.6)
writeln('exfh', ADR.ADDRESS.7)
writeln('exfh', ADR.ADDRESS.8)
writeln('exfh', ADR.ADDRESS.9)
writeln('exfh', ADR.ADDRESS.10)
writeln('exfh', ADR.ADDRESS.11)
writeln('exfh', ADR.ADDRESS.13)
writeln('exfh', ADR.ADDRESS.14)
writeln('exfh', ADR.ADDRESS.0)
writeln('exfh', ADR.ADDRESS.12)
NEXTSEL STEM ADR.
end
close ('exfh')
end
exit